package com.ef.service;

import java.util.List;

import com.ef.domain.Team;
import com.ef.util.CustomExample;
import com.ef.util.PaginationSupport;

public interface TeamService extends BaseService {

	public PaginationSupport<Team> findByExample(CustomExample<Team> example,
			int startIndex, int pageSize);

	public void saveOrUpdate(Team entity);

	public void delete(Team entity);

	public Team findById(Long id);

	public List<Team> findByName(String name);

	public List<Team> findAll();
}
